package com.molichuxing.gateway.bff.orders.entity.response;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;

import com.molichuxing.framework.dto.ResponseRootDto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 排期信息vo
 * 
 * @author zoumingyu
 * @date 2019年9月20日
 *
 */
@Data
public class ScheduleVo extends ResponseRootDto {
	private static final long serialVersionUID = -8685268238430193079L;

	@ApiModelProperty(value = "排期id")
	private Integer scheduleId;
	
	@ApiModelProperty(value = "订单号")
	private Long orderCode;

	@ApiModelProperty(value = "期数")
	private Integer periods;

	@ApiModelProperty(value = "期数str")
	private String periodsStr;

	@ApiModelProperty(value = "应付款金额")
	private BigDecimal payable;

	@ApiModelProperty(value = "应付款日期")
	private LocalDate payableDate;

	@ApiModelProperty(value = "实际支付时间")
	private LocalDateTime paySuccessTime;

	@ApiModelProperty(value = "支付方式( 11：智能终端-微信， 12：智能终端-支付宝， 13：智能终端-pos机，21：微信-公众号，22：微信-H5， 23：微信-APP，34：微信-扫码，25：微信-小程序，31：支付宝-APP，32：支付宝-H5，41: 线下支付，51：银联-APP，51：银联-H5)")
	private Integer payWay;

	@ApiModelProperty(value = "支付方式str")
	private String payWayStr;
	
	@ApiModelProperty(value = "状态（0：未还款，1：已还款，2：已终止）")
	private Integer status;

	@ApiModelProperty(value = "状态str")
	private String statusStr;

	@ApiModelProperty(value = "是否逾期(0：false，1：true)")
	private Boolean isOverdue;

	@ApiModelProperty(value = "是否活动减免(0：false，1：true)")
	private Boolean isActivity;

	@ApiModelProperty(value = "活动减免金额")
	private BigDecimal activityAmount;

}
